import request from "@/utils/request";
import { method } from "lodash";

// 查看订单
export const orderInfo = (id, organizeId) => {
  return request({
    url: `/api/orders/Xy_ks_orders/${id}?organizeId=${organizeId}`,
    method: "get"
  });
};

// 管理员编辑发票
export const editInvioce = (id, data) => {
  return request({
    url: `/api/orders/Xy_ks_orders/${id}`,
    method: "put",
    data
  });
};
